<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>Campfire - Beta</title>
	<%= stylesheet_link_tag 'style' %>
  	<%= stylesheet_link_tag 'stylerate' %>
    <%= javascript_include_tag :defaults %>
<%= javascript_include_tag "prototype" %> 
	
</head>

<body>
  <% if flash[:notice] %>
    <div id="flash"><p class="flash_text"><%= flash[:notice] %>
    <% if current_user && current_user.moderator %>
    | You currently have <a href="/stories/report/1" class="flash_link">moderator privileges</a>
    <% end %>
    </p></div>
  <% elsif current_user && current_user.moderator %>
    <div id="flash"><p class="flash_text">You currently have <a href="/stories/report/1" class="flash_link">moderator privileges</a></p></div>
  <% end %>
  <div id="content">
    <%= render :partial => "users/user_bar" %>
    
    <div id="logo">
      <img src="/images/campfire_logo.gif">
    </div>
    
    <!--
    <div id="logo">
			<h1><a href="#" title="One line at a time">Campfire</a></h1>
			<p class="style2" id="slogan">One line at a time.</p>
    </div>
    -->

    <%= yield %>

		<div id="footer">
					  <p class="right_footer" align=right>The <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">stories</span> are licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/us/">Creative Commons Attribution 3.0 United States License</a>.<BR>
            Style sheet designed by <a href="http://www.free-css-templates.com/" target="_blank">Free CSS   Templates</a>, Thanks to <a href="http://www.dubaiapartments.biz/villas/" title="Dubai Apartments offers quality furnished hotel apartments, villas, and furnished properties on short term rental basis" target="_blank">Dubai Villas</a><br /></p>

          <p class="left_footer" align=left><a rel="license" href="http://creativecommons.org/licenses/by/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/us/88x31.png" /></a></p>

		</div>

  </div>
</body>
</html>
